home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIP Haziran 2001.iso / prog / share / 17 / dings_e.exe / Compiler / Include / CONIO.H < prev    next >
C/C++ Source or Header  |  1999-11-07  |  1KB  |  75 lines

  1. /*
  2.  * conio.h
  3.  *
  4.  * Low level console I/O functions. Pretty please try to use the ANSI
  5.  * standard ones if you are writing new code.
  6.  *
  7.  * This file is part of the Mingw32 package.
  8.  *
  9.  * Contributors:
  10.  *  Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
  11.  *
  12.  *  THIS SOFTWARE IS NOT COPYRIGHTED
  13.  *
  14.  *  This source code is offered for use in the public domain. You may
  15.  *  use, modify or distribute it freely.
  16.  *
  17.  *  This code is distributed in the hope that it will be useful but
  18.  *  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
  19.  *  DISCLAMED. This includes but is not limited to warranties of
  20.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  21.  *
  22.  * $Revision: 1.1.1.2 $
  23.  * $Author: khan $
  24.  * $Date: 1998/02/04 20:03:07 $
  25.  *
  26.  */
  27.  
  28. #ifndef    __STRICT_ANSI__
  29.  
  30. #ifndef    _CONIO_H_
  31. #define    _CONIO_H_
  32.  
  33. /* All the headers include this file. */
  34. #include <_mingw.h>
  35.  
  36. #ifndef RC_INVOKED
  37.  
  38. #ifdef    __cplusplus
  39. extern "C" {
  40. #endif
  41.  
  42.  
  43. char*    _cgets (char* szBuffer);
  44. int    _cprintf (const char* szFormat, ...);
  45. int    _cputs (const char* szString);
  46. int    _cscanf (char* szFormat, ...);
  47.  
  48. int    _getch ();
  49. int    _getche ();
  50. int    _kbhit ();
  51. int    _putch (int cPut);
  52. int    _ungetch (int cUnget);
  53.  
  54.  
  55. #ifndef    _NO_OLDNAMES
  56.  
  57. int    getch ();
  58. int    getche ();
  59. int    kbhit ();
  60. int    putch (int cPut);
  61. int    ungetch (int cUnget);
  62.  
  63. #endif    /* Not _NO_OLDNAMES */
  64.  
  65.  
  66. #ifdef    __cplusplus
  67. }
  68. #endif
  69.  
  70. #endif    /* Not RC_INVOKED */
  71.  
  72. #endif    /* Not _CONIO_H_ */
  73.  
  74. #endif    /* Not __STRICT_ANSI__ */
  75.